import { ref } from 'vue'

export default function useCommon() {
  const isLoading = ref(true)

  new Promise((resolve) => { setTimeout(resolve, 2000) })
    .then(() => {
      isLoading.value = false
    })

  return { isLoading }
}
